﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _404park.Utilities
{
    public class GoogleGlobal
    {
        public static readonly string _resultUrl = ConfigurationManager.AppSettings["googleSearchResultUrl"];
        public static readonly string _hostName = ConfigurationManager.AppSettings["hostName"];

        public static string BuildGoogleSearchResultUrl(string keywords)
        {
            return string.Format(_resultUrl, _hostName, keywords, _hostName);
        }
    }
}
